#ifndef FRUIT_H
#define FRUIT_H
#include<QPixmap>
#include <QWidget>
#include<QPainter>
#include"map.h"
class fruit : public QWidget
{
    Q_OBJECT

public:
    fruit(QWidget *parent = 0);
    ~fruit();
    void initfruit();
    map map2;
    void paintEvent(QPaintEvent *);
};

#endif // FRUIT_H
